版权声明:本文为博主原创文章,转载请注明出处:http://blog.jerkybible.com/2013/09/19/2013-09-19-CODE 23 Balanced Binary Tree/
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees ofevery node
never differ by more than 1.
|
|